<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style type="text/css">
		.demo li:nth-child(2){
			background: yellow;}
		.demo li:nth-of-type(2){
			color: red;}
	</style>
</head>
<body>
	<div>
		 <ul class="demo">
		<p>zero</p>
		    <li>one</li>
		    <li>two</li>
		</ul>
	</div>

</body>
</html>
